import request from '@/utils/request'

// 查询无人机认证列表
export function listDrone_certification(query) {
  return request({
    url: '/Drone_certification/drone_certification/list',
    method: 'get',
    params: query
  })
}

// 查询无人机认证详细
export function getDrone_certification(id) {
  return request({
    url: '/Drone_certification/drone_certification/' + id,
    method: 'get'
  })
}

// 新增无人机认证
export function addDrone_certification(data) {
  return request({
    url: '/Drone_certification/drone_certification',
    method: 'post',
    data: data
  })
}

// 修改无人机认证
export function updateDrone_certification(data) {
  return request({
    url: '/Drone_certification/drone_certification',
    method: 'put',
    data: data
  })
}

// 删除无人机认证
export function delDrone_certification(id) {
  return request({
    url: '/Drone_certification/drone_certification/' + id,
    method: 'delete'
  })
}
